#mainHeader {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e5e5e5;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 800;
    color: #5C2018;
    line-height: 1.2;
    margin: 0;
}

.logo-text p {
    font-size: 10px;
    color: #8A7D6B;
    margin-top: 2px;
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #231815;
}

.nav-links a.active {
    color: #5C2018;
    border-bottom: 2px solid #5C2018;
    padding-bottom: 3px;
}

.btn-signin,
.btn-login {
    padding: 8px 18px;
    border: 1px solid #5C2018;
    border-radius: 20px;
    background: transparent;
    color: #5C2018;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-signin:hover,
.btn-login:hover {
    background: #5C2018;
    color: #fff;
}

.btn-primary {
    padding: 8px 20px;
    border-radius: 20px;
    background: #5C2018;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
}

.btn-primary:hover {
    background: #752E24;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #5C2018;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #FAF3E5;
    font-family: 'DM Sans', sans-serif;
    padding: 0;
    line-height: 1.5;
}

.section-header {
    text-align: center;
    margin: 2rem 0;
}
.section-header h2 {
    color: #5C2018;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: #8A7D6B;
}

.add-form-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}
.btn-toggle-form {
    width: 100%;
    padding: 0.85rem;
    background: #5C2018;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-toggle-form:hover {
    background: #752E24;
}

.announcement-form {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(92,32,24,0.08);
}
.announcement-form.hidden {
    display: none;
}
.announcement-form h3 {
    color: #5C2018;
    margin-bottom: 1rem;
}
.announcement-form input,
.announcement-form textarea,
.announcement-form select {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid #E2D4B7;
    border-radius: 8px;
    font-size: 1rem;
}
.form-buttons {
    display: flex;
    gap: 0.8rem;
}
.btn-cancel {
    flex: 1;
    padding: 0.85rem;
    background: #EDE5D4;
    color: #5C4033;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.btn-submit {
    flex: 2;
    padding: 0.85rem;
    background: #5C2018;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.announcements-list {
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: #8A7D6B;
    background: #fff;
    border-radius: 12px;
}

.announcement-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(92,32,24,0.08);
    border-left: 4px solid #5C2018;
}
.announcement-card.important {
    border-left-color: #A83232;
}
.announcement-card.update {
    border-left-color: #3B7EA1;
}
.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #EDE5D4;
    color: #5C2018;
}
.badge.important {
    background: #F3E5E5;
    color: #A83232;
}
.badge.update {
    background: #E5EFF3;
    color: #2B647A;
}
.announcement-card h3 {
    color: #2B2B2B;
    font-size: 1.15rem;
}
.announcement-text {
    color: #4B463F;
    margin-bottom: 0.8rem;
}
.announcement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
.ann-date {
    color: #8A7D6B;
    font-size: 0.85rem;
}
.btn-delete {
    background: none;
    border: none;
    color: #C49088;
    cursor: pointer;
    font-size: 0.85rem;
}
.btn-delete:hover {
    color: #A83232;
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    left: 1rem;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast.success { border-left: 4px solid #5C2018; }
.toast.info { border-left: 4px solid #3B82F6; }

@media (max-width: 900px) {
    .nav-container {
        padding: 15px;
    }
    .nav-links {
        gap: 10px;
        margin-top: 10px;
        width: 100%;
        justify-content: flex-start;
    }
    .logo-text h1 {
        font-size: 16px;
    }
    .btn-signin, .btn-login, .btn-primary {
        padding: 6px 14px;
        font-size: 12px;
    }
}